package yang.learn.dao;

import yang.learn.entity.ChatRoom;
import yang.learn.entity.ChatRoomFriend;
import yang.learn.entity.User;

import java.util.List;

public interface ChatRoomFriendDao {

    public void add(ChatRoomFriend chatRoomFriend);
    public void del(ChatRoomFriend chatRoomFriend);
    public void change(ChatRoomFriend chatRoomFriend);
    public ChatRoomFriend queryId(ChatRoom chatRoom);
    public List<ChatRoomFriend> queryAll(ChatRoom chatRoom);
    public List<ChatRoomFriend> queryAccount(User user);
}
